x86: ivybridge: Convert sdram_initialise() to use DM PCI API
authorSimon Glass <[email protected]>
Sun, 17 Jan 2016 23:11:48 +0000 (16:11 -0700)
committerBin Meng <[email protected]>
Sun, 24 Jan 2016 04:09:41 +0000 (12:09 +0800)
commit1641bb8cc7ca49a8a0c49df54a2612a1ac63ed29
tree7bccdc861ffeb955ef125516c84adfb34ccd01a6
parent2588e71132613dff83805c3fe47530fa00c6c07d
x86: ivybridge: Convert sdram_initialise() to use DM PCI API

Convert this function to use the the driver model PCI API. We just need
to pass in the northbridge device.

Signed-off-by: Simon Glass <[email protected]>
Reviewed-by: Bin Meng <[email protected]>
arch/x86/cpu/ivybridge/sdram.c